This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



May 13, 2011, 7:38 AM
66 Posts
topic has been resolvedResolved

Error ---- HTTP JVM: com.ibm.xsp.exception.EvaluationExceptionEx: Error while executing JavaScript action expression

  • Category: Managed Beans in NSF
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 3
I have a database with managed bean(using faces-config.xml), which I access from my xpage.  In managed bean I have a method that I call from xpages beforeRenderResponse event.  I found that when I have an error in the managed bean method (in my example null pointer issue) I cant see any error message in browser. It just fails somewhere inside and page is being rendered. Only place I can see something is server console: he is the error:
 
13.05.2011 09:10:54   HTTP JVM: com.ibm.xsp.exception.EvaluationExceptionEx: Error while executing JavaScript action expression 
 
If I fix the bug, its working fine, when I enable the bug again, I can see just this obscure error message  on console. I tried to put  null pointer bug into different parts on my managed bean with the same results. I can't see the java error traceback in browser.
 
Can anyone help me?  
 
Runnig app on Domino for Linux 8.5.2 FP2 
 
David 
May 13, 2011, 8:12 AM
33 Posts
Re: Error ---- HTTP JVM: com.ibm.xsp.exception.EvaluationExceptionEx: Error while executin...
Hi,
have you tries all the other logs? 
{domina_data} /IBM_TECHNICAL_SUPPORT/xpages_exc_*.log
{domina_data}/domino/workspace/logs
May 13, 2011, 8:31 AM
66 Posts
Re: Error ---- HTTP JVM: com.ibm.xsp.exception.EvaluationExceptionEx: Error while executin...
 No, I didnt ... I found the bug using print statement in my code. But its really a stupid way of development. And I cant image by developing the way looking to some text file on remote server ...
May 15, 2011, 1:43 PM
66 Posts
Re: Error ---- HTTP JVM: com.ibm.xsp.exception.EvaluationExceptionEx: Error while executin...
 Finally resolved. The issue was in event I used for running my code. I used: beforeRenderResponse ... in this case I'm getting such stupid error message with no details. When I move my code to e.g. beforePageLoad (it means higher in call hierarchy) I can see standard error message with full java stacktrace. Hmmmmm
 
 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal